package com.imyours.net.result;

import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;

/**用户资料查询接口
 * 
 * @author SLevenc
 *
 */
public class UserInfoResult extends ExecuteResult {

	/**
	 * 用户信息Map
	 */
	private Map<String, String> UserInfoData = new HashMap<String, String>();

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(super.toString());
		if (UserInfoData != null) {
			sb.append("UserInfoData:\n");
			for (Entry entry : UserInfoData.entrySet()) {
				sb.append("\t").append(entry.getKey()).append(":").append(entry.getValue()).append("\n");
			}
		}
		return sb.toString();
	}

	public Map<String, String> getUserInfoData() {
		return UserInfoData;
	}

	public void setUserInfoData(Map<String, String> userInfoData) {
		UserInfoData = userInfoData;
	}

}
